Finding the unloaded geometry

Finding the unloaded geometry#

from fenics_plotly import plot
import pulse
geometry = pulse.HeartGeometry.from_file(pulse.mesh_paths["simple_ellipsoid"])
# geometry = pulse.geometries.prolate_ellipsoid_geometry(mesh_size_factor=3.0)
material = pulse.NeoHookean()
# material = pulse.Guccione()
2024-01-16 17:01:55,911 [624] INFO     pulse.geometry_utils: 
Load mesh from h5
# Parameter for the cardiac boundary conditions
bcs_parameters = pulse.MechanicsProblem.default_bcs_parameters()
bcs_parameters["base_spring"] = 1.0
bcs_parameters["base_bc"] = "fix_x"
# Create the problem
problem = pulse.MechanicsProblem(geometry, material, bcs_parameters=bcs_parameters)
# Suppose geometry is loaded with a pressure of 1 kPa
# and create the unloader
unloader = pulse.FixedPointUnloader(problem=problem, pressure=3.0)
2024-01-16 17:01:56,048 [624] INFO     pulse.unloader: 

-------------------------- Unloading options ---------------------------

	Target pressure: 3.0
	maxiter = 10
	tolerance = 0.0001
	regenerate_fibers (serial only)= False

------------------------------------------------------------------------
# Unload the geometry
unloader.unload()
2024-01-16 17:01:56,054 [624] INFO     pulse.unloader: ------------------------------------------------------------------------
2024-01-16 17:01:56,055 [624] INFO     pulse.unloader: ----------------------------Start unloading-----------------------------
2024-01-16 17:01:56,055 [624] INFO     pulse.unloader: ------------------------------------------------------------------------
2024-01-16 17:01:56,087 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-01-16 17:01:56,088 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-01-16 17:01:56,089 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-01-16 17:01:56,089 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-01-16 17:01:56,273 [624] DEBUG    UFL_LEGACY: Blocks of each mode: 
  1	full
2024-01-16 17:01:57,144 [624] INFO     pulse.unloader: 
LV Volume of original geometry = 0.749 ml
2024-01-16 17:01:57,161 [624] INFO     pulse.unloader: 
Do an intial solve
2024-01-16 17:01:57,251 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-01-16 17:01:57,252 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-01-16 17:01:57,253 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-01-16 17:01:57,253 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-01-16 17:01:57,254 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-01-16 17:01:57,790 [624] DEBUG    UFL_LEGACY: Blocks of each mode: 
  99	full
2024-01-16 17:01:57,866 [624] DEBUG    UFL_LEGACY: Blocks of each mode: 
2024-01-16 17:01:58,077 [624] DEBUG    UFL_LEGACY: Blocks of each mode: 
  18	full
2024-01-16 17:02:38,309 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-01-16 17:02:38,310 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-01-16 17:02:38,310 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-01-16 17:02:38,311 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-01-16 17:02:38,311 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-01-16 17:02:38,514 [624] DEBUG    UFL_LEGACY: Blocks of each mode: 
  10	full
2024-01-16 17:02:38,590 [624] DEBUG    UFL_LEGACY: Blocks of each mode: 
  3	full
2024-01-16 17:02:38,781 [624] DEBUG    UFL_LEGACY: Blocks of each mode: 
  3	full
2024-01-16 17:02:42,403 [624] INFO     pulse.unloader: 
Iteration: 0
2024-01-16 17:02:46,176 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/quadrature/quadraturerepresentation.py:58: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
  Ignoring precision in integral metadata compiled using quadrature representation. Not implemented.
2024-01-16 17:02:46,219 [624] WARNING  FFC:   Ignoring precision in integral metadata compiled using quadrature representation. Not implemented.
2024-01-16 17:02:50,708 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:02:50,713 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/quadrature/quadraturerepresentation.py:58: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
  Ignoring precision in integral metadata compiled using quadrature representation. Not implemented.
2024-01-16 17:02:50,759 [624] WARNING  FFC:   Ignoring precision in integral metadata compiled using quadrature representation. Not implemented.
2024-01-16 17:02:51,189 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:02:51,233 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:02:51,235 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:02:51,278 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:02:51,279 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:02:51,318 [624] INFO     pulse.unloading_utils: 
LV Volume of original geometry = 0.568 ml
2024-01-16 17:02:51,473 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-01-16 17:02:51,474 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-01-16 17:02:51,475 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-01-16 17:02:51,475 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-01-16 17:02:51,476 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-01-16 17:02:51,774 [624] DEBUG    UFL_LEGACY: Blocks of each mode: 
  99	full
2024-01-16 17:02:51,850 [624] DEBUG    UFL_LEGACY: Blocks of each mode: 
2024-01-16 17:02:52,059 [624] DEBUG    UFL_LEGACY: Blocks of each mode: 
  18	full
2024-01-16 17:03:31,828 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-01-16 17:03:31,828 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-01-16 17:03:31,829 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-01-16 17:03:31,829 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-01-16 17:03:31,830 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-01-16 17:03:31,968 [624] DEBUG    UFL_LEGACY: Blocks of each mode: 
  10	full
2024-01-16 17:03:32,044 [624] DEBUG    UFL_LEGACY: Blocks of each mode: 
  3	full
2024-01-16 17:03:32,234 [624] DEBUG    UFL_LEGACY: Blocks of each mode: 
  3	full
2024-01-16 17:03:35,746 [624] INFO     pulse.unloading_utils: 
LV Volume of inflated geometry = 0.568 ml
2024-01-16 17:03:35,919 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:35,921 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:35,963 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:35,964 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:36,007 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:36,008 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:36,047 [624] INFO     pulse.unloading_utils: 
LV Volume of new reference geometry = 0.717 ml
2024-01-16 17:03:36,059 [624] INFO     pulse.unloader: 
Residual:	0.011328623428538017
2024-01-16 17:03:36,059 [624] INFO     pulse.unloader: 
Iteration: 1
2024-01-16 17:03:36,234 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:36,235 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:36,276 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:36,277 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:36,318 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:36,319 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:36,356 [624] INFO     pulse.unloading_utils: 
LV Volume of original geometry = 0.596 ml
2024-01-16 17:03:39,464 [624] INFO     pulse.unloading_utils: 
LV Volume of inflated geometry = 0.596 ml
2024-01-16 17:03:39,638 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:39,640 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:39,683 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:39,684 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:39,727 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:39,728 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:39,767 [624] INFO     pulse.unloading_utils: 
LV Volume of new reference geometry = 0.754 ml
2024-01-16 17:03:39,779 [624] INFO     pulse.unloader: 
Residual:	0.001698010214540199
2024-01-16 17:03:39,780 [624] INFO     pulse.unloader: 
Iteration: 2
2024-01-16 17:03:39,954 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:39,955 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:39,998 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:39,999 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:40,042 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:40,043 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:40,082 [624] INFO     pulse.unloading_utils: 
LV Volume of original geometry = 0.592 ml
2024-01-16 17:03:43,147 [624] INFO     pulse.unloading_utils: 
LV Volume of inflated geometry = 0.592 ml
2024-01-16 17:03:43,319 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:43,321 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:43,363 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:43,365 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:43,407 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:43,409 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:43,448 [624] INFO     pulse.unloading_utils: 
LV Volume of new reference geometry = 0.749 ml
2024-01-16 17:03:43,460 [624] INFO     pulse.unloader: 
Residual:	0.0002592876931300245
2024-01-16 17:03:43,460 [624] INFO     pulse.unloader: 
Iteration: 3
2024-01-16 17:03:43,634 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:43,635 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:43,677 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:43,679 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:43,721 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:43,722 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:43,760 [624] INFO     pulse.unloading_utils: 
LV Volume of original geometry = 0.593 ml
2024-01-16 17:03:46,836 [624] INFO     pulse.unloading_utils: 
LV Volume of inflated geometry = 0.593 ml
2024-01-16 17:03:47,010 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:47,011 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:47,054 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:47,055 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:47,098 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:47,099 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:47,138 [624] INFO     pulse.unloading_utils: 
LV Volume of new reference geometry = 0.750 ml
2024-01-16 17:03:47,150 [624] INFO     pulse.unloader: 
Residual:	3.931304295917144e-05
2024-01-16 17:03:47,151 [624] INFO     pulse.unloader: ########################################################################
Unloading suceeding
# Get the unloaded geometry
unloaded_geometry = unloader.unloaded_geometry
2024-01-16 17:03:47,330 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:47,331 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:47,374 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:47,376 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:47,419 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-01-16 17:03:47,420 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
fig = plot(geometry.mesh, opacity=0.0, show=False)
fig.add_plot(plot(unloaded_geometry.mesh, color="red", show=False))
fig.show()